package com.zzptc.sky.exam_lixunan;

import android.content.Intent;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        new Handler(new Handler.Callback() {
            @Override
            public boolean handleMessage(Message msg) {

                startActivity(new Intent(getApplicationContext(),Main2Activity.class));
                return false;
            }
        }).sendEmptyMessageDelayed(0,1000);
    }
}

